﻿namespace VergenereEncryption
{
    internal class MainProgram
    {
        static void Main(string[] args)
        {
            //创建对象
            Encryption encode = new Encryption();
            Console.WriteLine("Input plain,please:");
            encode.Plain=Console.ReadLine();
            Console.WriteLine("Input cipher,please:");
            encode.Key = Console.ReadLine();
            //将密码分别转换为大小写
            encode.Key1 = encode.Key.ToLower();
            encode.Key2 = encode.Key.ToUpper();
            encode.Encode();
            Console.WriteLine(encode.CipherText);
            
        }
           
    }
    
}
            